package com.fs.common.baseMapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.fs.common.pojo.Company;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

/**
 * @author ACE
 * @desc 部门/企业mapper
 * @creationTime 2019-04-03 21:48
 * @projectName weixinframe
 * @packageName com.fs.base.mapper
 */
@Mapper
public interface CompanyMapper extends BaseMapper<Company> {

    @Select("select * from s_company where key_code = #{keyCode}")
    Company findOneByKeyCode(@Param("keyCode") String keyCode);
}
